<html>
<head><meta charset="utf-8"><title>sourceid hash change · t-cargo · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/246057-t-cargo/index.html">t-cargo</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/246057-t-cargo/topic/sourceid.20hash.20change.html">sourceid hash change</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="235874188"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/246057-t-cargo/topic/sourceid%20hash%20change/near/235874188" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Eric Huss <a href="https://rust-lang.github.io/zulip_archive/stream/246057-t-cargo/topic/sourceid.20hash.20change.html#235874188">(Apr 23 2021 at 16:59)</a>:</h4>
<p><span class="user-mention" data-user-id="116015">@Alex Crichton</span> FYI, I think <a href="https://github.com/rust-lang/cargo/pull/9384">https://github.com/rust-lang/cargo/pull/9384</a> has caused a problem where the hash for <a href="http://crates.io">crates.io</a> has changed.  This causes it to require redownloading everything in the cache.  </p>
<p>Would it make sense to re-add a manual Ord?</p>



<a name="235874924"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/246057-t-cargo/topic/sourceid%20hash%20change/near/235874924" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Eh2406 <a href="https://rust-lang.github.io/zulip_archive/stream/246057-t-cargo/topic/sourceid.20hash.20change.html#235874924">(Apr 23 2021 at 17:03)</a>:</h4>
<p>Do we want to re add the test that compeers the hash to a string?</p>



<a name="235874959"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/246057-t-cargo/topic/sourceid%20hash%20change/near/235874959" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Eric Huss <a href="https://rust-lang.github.io/zulip_archive/stream/246057-t-cargo/topic/sourceid.20hash.20change.html#235874959">(Apr 23 2021 at 17:03)</a>:</h4>
<p>haha, yea, I was thinking the same thing, would probably be a good idea.</p>



<a name="235881841"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/246057-t-cargo/topic/sourceid%20hash%20change/near/235881841" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Alex Crichton <a href="https://rust-lang.github.io/zulip_archive/stream/246057-t-cargo/topic/sourceid.20hash.20change.html#235881841">(Apr 23 2021 at 17:50)</a>:</h4>
<p>bleh</p>



<a name="235881914"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/246057-t-cargo/topic/sourceid%20hash%20change/near/235881914" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Alex Crichton <a href="https://rust-lang.github.io/zulip_archive/stream/246057-t-cargo/topic/sourceid.20hash.20change.html#235881914">(Apr 23 2021 at 17:50)</a>:</h4>
<p>we should probably commit to a more canonical hashing scheme or identifier scheme for <a href="http://crates.io">crates.io</a> at some point</p>



<a name="235881953"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/246057-t-cargo/topic/sourceid%20hash%20change/near/235881953" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Alex Crichton <a href="https://rust-lang.github.io/zulip_archive/stream/246057-t-cargo/topic/sourceid.20hash.20change.html#235881953">(Apr 23 2021 at 17:50)</a>:</h4>
<p>it's annoying that unrelated changes like this end up forcing us to do weirder things in Cargo</p>



<a name="235882806"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/246057-t-cargo/topic/sourceid%20hash%20change/near/235882806" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Alex Crichton <a href="https://rust-lang.github.io/zulip_archive/stream/246057-t-cargo/topic/sourceid.20hash.20change.html#235882806">(Apr 23 2021 at 17:56)</a>:</h4>
<p>I'll work on this change though</p>



<a name="235893192"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/246057-t-cargo/topic/sourceid%20hash%20change/near/235893192" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Alex Crichton <a href="https://rust-lang.github.io/zulip_archive/stream/246057-t-cargo/topic/sourceid.20hash.20change.html#235893192">(Apr 23 2021 at 19:08)</a>:</h4>
<p>I posted <a href="https://github.com/rust-lang/cargo/pull/9397">https://github.com/rust-lang/cargo/pull/9397</a>, and wow it turns out we have a really backwards reason for deriving <code>Hash</code> and implementing <code>Ord</code></p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>